class CreateOffers < ActiveRecord::Migration
  def change
    create_table :offers do |t|
      t.string :title
      t.string :content
      t.integer :border_left
      t.integer :border_right
      t.references :ad
      t.references :user

      t.timestamps
    end
    #add_index :offers, :ad_id, :user_id
  end
end
